h1{
    color: red;
}

.box {
    width: 280px;
    position: absolute;
    top: 200px;
    left: 550px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 4px;
    background-color: #fff;
  }
  /* 绘制三角 */
  .box::after,
  .box::before {
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    left: 12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #cccccc;
  }
  .box::after {
    top: -9px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
  }
  /* 标题 */
  .box-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .box-header__lt,
  .box-header__gt {
    font-family: "宋体";
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    border-radius: 2px;
    cursor: pointer;
  }
  .box-header__lt:hover,
  .box-header__gt:hover {
    background-color: #cccccc;
  }
  .box-header__data {
    line-height: 30px;
  }
  /* 主体 */
  
  /* 周一至周日 */
  .center-caption {
    display: grid;
    grid-template-columns: repeat(7, calc(280px / 7));
    grid-template-rows: 36px;
    background-color: #999999;
    border-radius: 4px;
    font-weight: bold;
  }
  /* 单个周日期布局 */
  .center-caption__coll {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
  }
  /* 不是当月日期禁用 */
  .center-caption__coll__dark {
    color: #cccccc;
    cursor: no-drop;
  }
  .center-caption__coll__active{
    background-color: rgb(124, 146, 245) !important;
    cursor: pointer;
    color: #ffffff;
  }
  /* 日期鼠标滑动事件 */
  .center-caption__coll:hover {
    background-color: rgb(124, 146, 245);
    cursor: pointer;
    color: #ffffff;
  }
   /* 重写  不是当月日期禁用 */
  .center-caption__coll__dark:hover {
    background-color: transparent;
    color: #cccccc;
    cursor: no-drop;
  }
  /* 日期矩阵 */
  .center-table {
    display: grid;
    grid-template-columns: repeat(7, calc(280px / 7));
    grid-template-rows: repeat(6, 36px);
  }